/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.vasthu.api.domain;

import com.vasthu.gui.VstTableItemSelectable;

/**
 *
 * @author moremada
 */
public class Function implements VstTableItemSelectable{

    private int fId;
    private String funcName;
    private String description;
    
    @Override
    public Object getValue(int col) {
        switch (col) {
            case 0:
                return getfId();
            case 1:
                return getFuncName();
            case 2:
                return getDescription();
            default:
                return new String("");
        }
    }

    /**
     * @return the fId
     */
    public int getfId() {
        return fId;
    }

    /**
     * @param fId the fId to set
     */
    public void setfId(int fId) {
        this.fId = fId;
    }

    /**
     * @return the funcName
     */
    public String getFuncName() {
        return funcName;
    }

    /**
     * @param funcName the funcName to set
     */
    public void setFuncName(String funcName) {
        this.funcName = funcName;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
}
